@echo off
FOR /F "usebackq tokens=1,2* delims==" %%i in (conf.cfg) do (set %%i=%%j)
set volid=%100-%1ff

:loop

%dsclipath% -hmc1 %server% -user %user% -passwd %passwd% mkfbvol -dev %devid% -extpool %poolid% -type ds -cap %cap% -name autovol_#d %volid%

%dsclipath% -hmc1 %server% -user %user% -passwd %passwd% rmfbvol -quiet -dev %devid% %volid%

goto loop

